[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 YEAR(DEXP) (INTEGER)

 Function
  Extracts the year (1900-2079) from a specified date.

 Syntax
  YEAR(dexp)

   dexp = Any date expression.

 Return Type & Value
  INTEGER
  Returns the year from the specified date expression (dexp).  Valid return
  values are from 1900 to 2079.

 Remarks
  This function allows you to extract a particular piece of information
  about a DATE value, in this case the year of the date.

 Examples
  PRINTLN "This year is:  ",YEAR(DATE())

See Also: DAY() DOW() MONTH()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson